<?php if (!defined('THINK_PATH')) exit(); if(is_array($left_menu)): $i = 0; $__LIST__ = $left_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?><h3 class="f14"><i class="fa fa-<?php echo ($val["icon"]); ?>"></i> <?php echo ($val["name"]); ?></h3>
	<ul>
		<?php if(is_array($val['sub'])): $i = 0; $__LIST__ = $val['sub'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$sval): $mod = ($i % 2 );++$i; if(($sval['module_name'] == 'http') || ($sval['module_name'] == 'https')): ?><li class="sub_menu"><a href="javascript:;" data-uri="<?php echo ($sval['action_name']); echo ($sval["data"]); ?>" data-id="<?php echo ($sval["id"]); ?>" hidefocus="true"><i class="fa fa-<?php echo ($sval["icon"]); ?>"></i> <?php echo ($sval["name"]); ?></a></li>
				<?php else: ?>
				<li class="sub_menu"><a href="javascript:;" data-uri="<?php echo U($sval['module_name'].'/'.$sval['action_name'], array('menuid'=>$sval['id'])); echo ($sval["data"]); ?>" data-id="<?php echo ($sval["id"]); ?>" hidefocus="true"><i class="fa fa-<?php echo ($sval["icon"]); ?>"></i> <?php echo ($sval["name"]); ?></a></li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
	</ul><?php endforeach; endif; else: echo "" ;endif; ?>